<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>主页</title>
    <style>
        body {
            font-family: "Microsoft YaHei", Arial, sans-serif;
            background-color: #f4f4f4;
            margin: 0;
            padding: 0;
        }
        .container {
            max-width: 800px;
            margin: 0 auto;
            padding: 20px;
            background-color: #fff;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            border-radius: 5px;
        }
        h1 {
            color: #333;
            text-align: center;
            margin-bottom: 30px;
        }
        p {
            color: #666;
            line-height: 1.6;
            margin-bottom: 20px;
        }
        .logout-link {
            display: block;
            text-align: right;
            margin-top: 30px;
            color: #999;
            text-decoration: none;
            transition: color 0.3s;
        }
        .logout-link:hover {
            color: #333;
        }
        .feature-list {
            list-style-type: none;
            padding: 0;
            margin-top: 30px;
        }
        .feature-list li {
            padding: 10px;
            background-color: #f9f9f9;
            margin-bottom: 10px;
            border-radius: 3px;
            transition: background-color 0.3s;
        }
        .feature-list li:hover {
            background-color: #ebebeb;
        }
    </style>
</head>
<body>
<div class="container">
    <h1>欢迎您, ${user.username}!</h1>
    <p>您已成功登录。</p>

    <a href="/" class="logout-link">退出登录</a>
</div>
</body>
</html>